package shuimin.weixin;

/**
 * Created by sky on 16/5/17.
 */
public class Constant {
    public static final String MSGTYPE_TEXT = "text";
    public static final String MSGTYPE_IMAGE = "image";
    public static final String MSGTYPE_LOCATION = "location";
    public static final String MSGTYPE_LINK = "link";
    public static final String MSGTYPE_EVENT = "event";
    public static final String MSGTYPE_MUSIC = "music";
    public static final String MSGTYPE_NEWS = "news";
    public static final String MSGTYPE_VOICE = "voice";
    public static final String MSGTYPE_VIDEO = "video";
    public static final String EVENT_SUBSCRIBE = "subscribe";       //订阅
    public static final String EVENT_UNSUBSCRIBE = "unsubscribe";   //取消订阅
    public static final String EVENT_SCAN = "SCAN";                 //扫描带参数二维码
    public static final String EVENT_LOCATION = "LOCATION";         //上报地理位置
    public static final String EVENT_MENU_VIEW = "VIEW";                     //菜单 - 点击菜单跳转链接
    public static final String EVENT_MENU_CLICK = "CLICK";                   //菜单 - 点击菜单拉取消息
    public static final String EVENT_MENU_SCAN_PUSH = "scancode_push";       //菜单 - 扫码推事件(客户端跳URL)
    public static final String EVENT_MENU_SCAN_WAITMSG = "scancode_waitmsg"; //菜单 - 扫码推事件(客户端不跳URL)
    public static final String EVENT_MENU_PIC_SYS = "pic_sysphoto";          //菜单 - 弹出系统拍照发图
    public static final String EVENT_MENU_PIC_PHOTO = "pic_photo_or_album";  //菜单 - 弹出拍照或者相册发图
    public static final String EVENT_MENU_PIC_WEIXIN = "pic_weixin";         //菜单 - 弹出微信相册发图器
    public static final String EVENT_MENU_LOCATION = "location_select";      //菜单 - 弹出地理位置选择器
    public static final String EVENT_SEND_MASS = "MASSSENDJOBFINISH";        //发送结果 - 高级群发完成
    public static final String EVENT_SEND_TEMPLATE = "TEMPLATESENDJOBFINISH";//发送结果 - 模板消息发送结果
    public static final String EVENT_KF_SEESION_CREATE = "kfcreatesession";  //多客服 - 接入会话
    public static final String EVENT_KF_SEESION_CLOSE = "kfclosesession";    //多客服 - 关闭会话
    public static final String EVENT_KF_SEESION_SWITCH = "kfswitchsession";  //多客服 - 转接会话
    public static final String EVENT_CARD_PASS = "card_pass_check";          //卡券 - 审核通过
    public static final String EVENT_CARD_NOTPASS = "card_not_pass_check";   //卡券 - 审核未通过
    public static final String EVENT_CARD_USER_GET = "user_get_card";        //卡券 - 用户领取卡券
    public static final String EVENT_CARD_USER_DEL = "user_del_card";        //卡券 - 用户删除卡券
    public static final String EVENT_MERCHANT_ORDER = "merchant_order";        //微信小店 - 订单付款通知

    public static final String QY_API_URL_PREFIX = "https://qyapi.weixin.qq.com/cgi-bin";

    //获取access token
    public static final String TOKEN_URL = "/gettoken?";
    public static final String JS_API_TICKET_URL = "/get_jsapi_ticket?";

    public static final String MENU_CREATE_URL = "/menu/create?";
    public static final String MENU_GET_URL = "/menu/get?";
    public static final String MENU_DELETE_URL = "/menu/delete?";

    public static final String CONTACTS_DEPARTURE_CREATE = "/departure/create?";
    public static final String CONTACTS_DEPARTURE_UPDATE = "/departure/update?";
    public static final String CONTACTS_DEPARTURE_DELETE = "/departure/delete?";
    public static final String CONTACTS_DEPARTURE_LIST = "/departure/list?";

    public static final String MEDIA_TEMP_UPLOAD="/media/upload?";
    public static final String MEDIA_TEMP_GET="/media/get?";

//    public static final String API_URL_PREFIX = "https://api.weixin.qq.com/cgi-bin";
//    public static final String AUTH_URL = "/token?grant_type=client_credential&";
//    public static final String MENU_CREATE_URL = "/menu/create?";
//    public static final String MENU_GET_URL = "/menu/get?";
//    public static final String MENU_DELETE_URL = "/menu/delete?";
//    public static final String GET_TICKET_URL = "/ticket/getticket?";
//    public static final String CALLBACKSERVER_GET_URL = "/getcallbackip?";
//    public static final String QRCODE_CREATE_URL = "/qrcode/create?";
//    public static final int QR_SCENE = 0;
//    public static final int QR_LIMIT_SCENE = 1;
//    public static final String QRCODE_IMG_URL = "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=";
//    public static final String SHORT_URL = "/shorturl?";
//    public static final String USER_GET_URL = "/user/get?";
//    public static final String USER_INFO_URL = "/user/info?";
//    public static final String USER_UPDATEREMARK_URL = "/user/info/updateremark?";
//    public static final String GROUP_GET_URL = "/groups/get?";
//    public static final String USER_GROUP_URL = "/groups/getid?";
//    public static final String GROUP_CREATE_URL = "/groups/create?";
//    public static final String GROUP_UPDATE_URL = "/groups/update?";
//    public static final String GROUP_MEMBER_UPDATE_URL = "/groups/members/update?";
//    public static final String GROUP_MEMBER_BATCHUPDATE_URL = "/groups/members/batchupdate?";
//    public static final String CUSTOM_SEND_URL = "/message/custom/send?";
//    public static final String MEDIA_UPLOADNEWS_URL = "/media/uploadnews?";
//    public static final String MASS_SEND_URL = "/message/mass/send?";
//    public static final String TEMPLATE_SET_INDUSTRY_URL = "/message/template/api_set_industry?";
//    public static final String TEMPLATE_ADD_TPL_URL = "/message/template/api_add_template?";
//    public static final String TEMPLATE_SEND_URL = "/message/template/send?";
//    public static final String MASS_SEND_GROUP_URL = "/message/mass/sendall?";
//    public static final String MASS_DELETE_URL = "/message/mass/delete?";
//    public static final String MASS_PREVIEW_URL = "/message/mass/preview?";
//    public static final String MASS_QUERY_URL = "/message/mass/get?";
//    public static final String UPLOAD_MEDIA_URL = "http://file.api.weixin.qq.com/cgi-bin";
//    public static final String MEDIA_UPLOAD_URL = "/media/upload?";
//    public static final String MEDIA_UPLOADIMG_URL = "/media/uploadimg?";//图片上传接口
//    public static final String MEDIA_GET_URL = "/media/get?";
//    public static final String MEDIA_VIDEO_UPLOAD = "/media/uploadvideo?";
//    public static final String MEDIA_FOREVER_UPLOAD_URL = "/material/add_material?";
//    public static final String MEDIA_FOREVER_NEWS_UPLOAD_URL = "/material/add_news?";
//    public static final String MEDIA_FOREVER_NEWS_UPDATE_URL = "/material/update_news?";
//    public static final String MEDIA_FOREVER_GET_URL = "/material/get_material?";
//    public static final String MEDIA_FOREVER_DEL_URL = "/material/del_material?";
//    public static final String MEDIA_FOREVER_COUNT_URL = "/material/get_materialcount?";
//    public static final String MEDIA_FOREVER_BATCHGET_URL = "/material/batchget_material?";
//    public static final String OAUTH_PREFIX = "https://open.weixin.qq.com/connect/oauth2";
//    public static final String OAUTH_AUTHORIZE_URL = "/authorize?";
//    ///多客服相关地址
//    public static final String CUSTOM_SERVICE_GET_RECORD = "/customservice/getrecord?";
//    public static final String CUSTOM_SERVICE_GET_KFLIST = "/customservice/getkflist?";
//    public static final String CUSTOM_SERVICE_GET_ONLINEKFLIST = "/customservice/getonlinekflist?";
//    public static final String API_BASE_URL_PREFIX = "https://api.weixin.qq.com"; //以下API接口URL需要使用此前缀
//    public static final String OAUTH_TOKEN_URL = "/sns/oauth2/access_token?";
//    public static final String OAUTH_REFRESH_URL = "/sns/oauth2/refresh_token?";
//    public static final String OAUTH_USERINFO_URL = "/sns/userinfo?";
//    public static final String OAUTH_AUTH_URL = "/sns/auth?";
//    ///多客服相关地址
//    public static final String CUSTOM_SESSION_CREATE = "/customservice/kfsession/create?";
//    public static final String CUSTOM_SESSION_CLOSE = "/customservice/kfsession/close?";
//    public static final String CUSTOM_SESSION_SWITCH = "/customservice/kfsession/switch?";
//    public static final String CUSTOM_SESSION_GET = "/customservice/kfsession/getsession?";
//    public static final String CUSTOM_SESSION_GET_LIST = "/customservice/kfsession/getsessionlist?";
//    public static final String CUSTOM_SESSION_GET_WAIT = "/customservice/kfsession/getwaitcase?";
//    public static final String CS_KF_ACCOUNT_ADD_URL = "/customservice/kfaccount/add?";
//    public static final String CS_KF_ACCOUNT_UPDATE_URL = "/customservice/kfaccount/update?";
//    public static final String CS_KF_ACCOUNT_DEL_URL = "/customservice/kfaccount/del?";
//    public static final String CS_KF_ACCOUNT_UPLOAD_HEADIMG_URL = "/customservice/kfaccount/uploadheadimg?";
//    ///卡券相关地址
//    public static final String CARD_CREATE = "/card/create?";
//    public static final String CARD_DELETE = "/card/delete?";
//    public static final String CARD_UPDATE = "/card/update?";
//    public static final String CARD_GET = "/card/get?";
//    public static final String CARD_BATCHGET = "/card/batchget?";
//    public static final String CARD_MODIFY_STOCK = "/card/modifystock?";
//    public static final String CARD_LOCATION_BATCHADD = "/card/location/batchadd?";
//    public static final String CARD_LOCATION_BATCHGET = "/card/location/batchget?";
//    public static final String CARD_GETCOLORS = "/card/getcolors?";
//    public static final String CARD_QRCODE_CREATE = "/card/qrcode/create?";
//    public static final String CARD_CODE_CONSUME = "/card/code/consume?";
//    public static final String CARD_CODE_DECRYPT = "/card/code/decrypt?";
//    public static final String CARD_CODE_GET = "/card/code/get?";
//    public static final String CARD_CODE_UPDATE = "/card/code/update?";
//    public static final String CARD_CODE_UNAVAILABLE = "/card/code/unavailable?";
//    public static final String CARD_TESTWHILELIST_SET = "/card/testwhitelist/set?";
//    public static final String CARD_MEETINGCARD_UPDATEUSER = "/card/meetingticket/updateuser?";    //更新会议门票
//    public static final String CARD_MEMBERCARD_ACTIVATE = "/card/membercard/activate?";      //激活会员卡
//    public static final String CARD_MEMBERCARD_UPDATEUSER = "/card/membercard/updateuser?";    //更新会员卡
//    public static final String CARD_MOVIETICKET_UPDATEUSER = "/card/movieticket/updateuser?";   //更新电影票(未加方法)
//    public static final String CARD_BOARDINGPASS_CHECKIN = "/card/boardingpass/checkin?";     //飞机票-在线选座(未加方法)
//    public static final String CARD_LUCKYMONEY_UPDATE = "/card/luckymoney/updateuserbalance?";     //更新红包金额
//    public static final String SEMANTIC_API_URL = "/semantic/semproxy/search?"; //语义理解
//
//    ///微信摇一摇周边
//    public static final String SHAKEAROUND_DEVICE_APPLYID = "/shakearound/device/applyid?";//申请设备ID
//    public static final String SHAKEAROUND_DEVICE_UPDATE = "/shakearound/device/update?";//编辑设备信息
//    public static final String SHAKEAROUND_DEVICE_SEARCH = "/shakearound/device/search?";//查询设备列表
//    public static final String SHAKEAROUND_DEVICE_BINDLOCATION = "/shakearound/device/bindlocation?";//配置设备与门店ID的关系
//    public static final String SHAKEAROUND_DEVICE_BINDPAGE = "/shakearound/device/bindpage?";//配置设备与页面的绑定关系
//    public static final String SHAKEAROUND_MATERIAL_ADD = "/shakearound/material/add?";//上传摇一摇图片素材
//    public static final String SHAKEAROUND_PAGE_ADD = "/shakearound/page/add?";//增加页面
//    public static final String SHAKEAROUND_PAGE_UPDATE = "/shakearound/page/update?";//编辑页面
//    public static final String SHAKEAROUND_PAGE_SEARCH = "/shakearound/page/search?";//查询页面列表
//    public static final String SHAKEAROUND_PAGE_DELETE = "/shakearound/page/delete?";//删除页面
//    public static final String SHAKEAROUND_USER_GETSHAKEINFO = "/shakearound/user/getshakeinfo?";//获取摇周边的设备及用户信息
//    public static final String SHAKEAROUND_STATISTICS_DEVICE = "/shakearound/statistics/device?";//以设备为维度的数据统计接口
//    public static final String SHAKEAROUND_STATISTICS_PAGE = "/shakearound/statistics/page?";//以页面为维度的数据统计接口
//    ///微信小店相关接口
//    public static final String MERCHANT_ORDER_GETBYID = "/merchant/order/getbyid?";//根据订单ID获取订单详情
//    public static final String MERCHANT_ORDER_GETBYFILTER = "/merchant/order/getbyfilter?";//根据订单状态/创建时间获取订单详情
//    public static final String MERCHANT_ORDER_SETDELIVERY = "/merchant/order/setdelivery?";//设置订单发货信息
//    public static final String MERCHANT_ORDER_CLOSE = "/merchant/order/close?";//关闭订单
//
//    ///数据分析接口
//    class DATACUBE_URL_ARP {
//        //获取用户增减数据（getusersummary）
//        public static final String USER_SUMMARY = "/datacube/getusersummary?";
//        //获取累计用户数据（getusercumulate）
//        public static final String USER_CUMULATE = "/datacube/getusercumulate?";
//
//        //获取图文群发每日数据（getarticlesummary）
//        public static final String ARTICLE_SUMMARY = "/datacube/getarticlesummary?";
//        //获取图文群发总数据（getarticletotal）
//        public static final String ARTICLE_TOTAL = "/datacube/getarticletotal?";
//        //获取图文统计数据（getuserread）
//        public static final String ARTICLE_READ = "/datacube/getuserread?";
//        //获取图文统计分时数据（getuserreadhour）
//        public static final String ARTICLE_READHOUR = "/datacube/getuserreadhour?";
//        //获取图文分享转发数据（getusershare）
//        public static final String ARTICLE_SHARE = "/datacube/getusershare?";
//        //获取图文分享转发分时数据（getusersharehour
//        public static final String ARTICLE_SHAREHOUR = "/datacube/getusersharehour?";
//
//        //获取消息发送概况数据（getupstreammsg）
//        public static final String UPSTREAMMSG_SUMMARY = "/datacube/getupstreammsg?";
//        //获取消息分送分时数据（getupstreammsghour）
//        public static final String UPSTREAMMSG_HOUR = "/datacube/getupstreammsghour?";
//        //获取消息发送周数据（getupstreammsgweek）
//        public static final String UPSTREAMMSG_WEEK = "/datacube/getupstreammsgweek?";
//        //获取消息发送月数据（getupstreammsgmonth）
//        public static final String UPSTREAMMSG_MONTH = "/datacube/getupstreammsgmonth?";
//        //获取消息发送分布数据（getupstreammsgdist）
//        public static final String UPSTREAMMSG_DIST = "/datacube/getupstreammsgdist?";
//        //获取消息发送分布周数据（getupstreammsgdistweek）
//        public static final String UPSTREAMMSG_DISTWEEK = "/datacube/getupstreammsgdistweek?";
//        //获取消息发送分布月数据（getupstreammsgdistmonth）
//        public static final String UPSTREAMMSG_DISTMONTH = "/datacube/getupstreammsgdistmonth?";
//
//        ////获取接口分析数据（getinterfacesummary）
//        public static final String INTERFACE_SUMMARY = "/datacube/getinterfacesummary?";
//        //获取接口分析分时数据（getinterfacesummaryhour）
//        public static final String INTERFACE_SUMMARYHOUR = "/datacube/getinterfacesummaryhour?";
//    }
}
